FROM registry.cn-hangzhou.aliyuncs.com/dragonwell/dragonwell8:dragonwell-8.8.8_jdk8u302-ga
MAINTAINER chenpan.ai@qq.com

RUN mkdir /data/webserver -p

ADD start.sh /data/webserver/
RUN chmod +x /data/webserver/start.sh

#COPY agent /data/agent
ADD *.jar /data/webserver/

EXPOSE 80

ENTRYPOINT ["/data/webserver/start.sh"]